#include "cylinder.h"

double Cylinder::area() const
{
    return 2 * PI * baseRadius * baseRadius + 2 * PI * baseRadius * height;
}

double Cylinder::volume() const
{
    return PI * baseRadius * baseRadius * height;
}